package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Builder
@Schema(name = "SkusEditDTO", title = "编辑规格数据模型", description = "编辑规格时传递的数据模型")
@Data
public class SkusEditDTO {
    @Schema(description = "规格id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12")
    private Long id;
    @Schema(description = "规格名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "尺寸")
    private String name;
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer order;
    @Schema(description = "状态（0：封禁,1：启动）", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
    @Schema(description = "规格值", requiredMode = Schema.RequiredMode.REQUIRED, example = "S, M, L, XL, XXL")
    private String standards;
    @Schema(description = "规格（0：无，1：颜色，0：图片）", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer type;
}
